package com.qf.agro.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * ProjectName: smart-agriculture-parent
 * ClassName: SysModule
 * Author: chenyaosen
 * Date: 2023/7/3 21:48
 * Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("sa_sys_module")
public class SysModule implements Serializable {

    @TableId
    private Long id;

    private String parentId;

    private String parentName;

    private String name;

    private Long layerNum;

    private Long isLeaf;

    private String ico;

    private String cpermission;

    private String curl;

    private Long ctype;

    private Long state;

    private String belong;

    private String cwhich;

    private Long quoteNum;

    private String remark;

    private Long orderNo;

    @TableField(exist = false)
    private List<SysModule> children;
}
